import { Module } from "vuex";
import { GlobalDataProps } from "./index";

export interface UserProps {
  isLogin: boolean;
  token?: string;
  // data: UserDataProps;
}
const user: Module<UserProps,GlobalDataProps> = {
  state:{
    isLogin: false,
    token: localStorage.getItem('token') || ''
  }
}

export default user;
